package com.health.service;

import com.health.entity.PageResult;
import com.health.entity.QueryPageBean;
import com.health.entity.Result;
import com.health.pojo.OrderList;
import com.health.pojo.OrderSetting;
import com.health.pojo.User;

import java.util.List;
import java.util.Map;

/**
 * @Classname OrderSettingService
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/3/16 18:13
 * @Author RainGrd
 */
public interface OrderSettingService {

    Result saveOrderSetting(OrderSetting orderSetting);

    int saveOrderSettingList(List<OrderSetting> orderSettingList);

    List<Map> getOrderSettingByMonth(String date);

    Result editOrderSetting(OrderSetting orderSetting);


    Result queryOrderSettings();


    PageResult queryOrderListPage(QueryPageBean queryPageBean, User user);

    Result saveOrderSettings(OrderList orderList, Integer checkSetmealId);


    int arrived(Integer id);

}
